import { request } from '@/common/utils/request'
// 获取审核流程配置列表
export const processConfigPage = (data) => {
	return request({
		url: '/biz/auditProcessConfig/list',
		method: 'GET',
		data,
	})
}

// 申请列表
export const applyListApi = (data) => {
	return request({
		url: '/examine/getLogVo',
		method: 'GET',
		data,
	})
}

// 审核日志
export const examineLogApi = (data) => {
	return request({
		url: '/examine/gteExamineLog',
		method: 'GET',
		data,
	})
}

// 申请详情
export const applyDetailApi = (data) => {
	return request({
		url: '/examine/getExamineList',
		method: 'GET',
		data,
	})
}

// 获取用户的范围权限
export const selectScopeIdsApi = (data) => {
	return request({
		url: '/role/selectScopeIds',
		method: 'GET',
		data,
	})
}
